package cn.com.yiqi.wsc.dao.org;

import cn.com.artemis.framework.base.commons.persistence.CrudDao;
import cn.com.yiqi.wsc.dao.org.criteria.AdminOrgCriteria;
import cn.com.yiqi.wsc.entity.org.OrgExtendEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 何刚
 * @ClassName: ${class}
 * @Description: TODO
 * @date 2017/2/24
 */
@Repository
public interface OrgExtendDao extends CrudDao<OrgExtendEntity> {


    /**
     * 根据orgId获取营业信息
     *
     * @param criteria
     * @return
     */
    OrgExtendEntity getDetailExtendByOrgId(AdminOrgCriteria criteria);

    int updateByOrgId(OrgExtendEntity orgExtendEntity);
}
